package cc.androidos;

import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TabHost;

public class Main extends TabActivity {

	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		TabHost tabHost = getTabHost();
		
		tabHost.addTab(tabHost.newTabSpec("local")
				.setIndicator(getString(R.string.localDict))
				.setContent(new Intent(this, LocalDictionary.class)));
		
		tabHost.addTab(tabHost.newTabSpec("remote")
				.setIndicator(getString(R.string.remoteDict))
				.setContent(new Intent(this, RemoteDictionary.class)));
	}
}
